
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0662: printstring "AGP" 
0000: NOP 
wait 1000

Model.Load(#MP5LNG)
038B: load_requested_models  

:NONAME_25
wait 0
if 
   Player.Defined(0)
jf @NONAME_25
0A8D: 1@ = read_memory 12010640 size 4 virtual_protect 0 
1@ += 4 
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0 
2@ = 0 

:NONAME_51
0A8D: 3@ = read_memory 1@ size 1 virtual_protect 0 
1@ += 1 
if and
  3@ >= 0 
  128 > 3@ 
jf @continue2 
005A: 3@ += 2@ // (int) 
if not Actor.Dead(3@)
jf @continue2 
if 803C:   not  $PLAYER_ACTOR == 3@ // (int) 
jf @continue2 
if not Actor.Dead(3@)
jf @continue2  
if Actor.Driving(3@)
jf @continue2  
20@ = Actor.CurrentCar(3@)
if not Car.Wrecked(20@)
jf @continue2  
if not Actor.Dead(3@)
jf @continue2  
if Actor.InCar(3@, 20@)
jf @continue2
046C: 18@ = car 20@ driver
if 003B:   not  3@ == 18@ // (int) 
jf @continue2  
if not Car.Wrecked(20@)
then 
    Car.SetMaxSpeed(20@, 8.0)
    01EC: make_car 20@ very_heavy 1 
end
0209: 6@ = random_int_in_ranges 286331153 -1717986919 
13@ = Marker.CreateAboveActor(3@)
Marker.SetColor(13@, 6@)
018B: set_marker 13@ radar_mode 2 
0446: set_actor 3@ dismemberment_possible 0 
0978: copy_decision_maker 65540 to 14@ 
0709: set_decision_maker 14@ on_event 36 taskID 1022 respect 0.0 hate 100.0 like 0.0 dislike 0.0 in_car 1 on_foot 0 // see *.ped files 
0709: set_decision_maker 14@ on_event 37 taskID 1022 respect 0.0 hate 100.0 like 0.0 dislike 0.0 in_car 1 on_foot 0 // see *.ped files 
0709: set_decision_maker 14@ on_event 36 taskID 1024 respect 0.0 hate 50.0 like 0.0 dislike 0.0 in_car 0 on_foot 1 // see *.ped files 
060B: set_actor 3@ decision_maker_to 14@ 
if 82D8:   not actor 3@ current_weapon == 29 
jf @NONAME_246 

Actor.GiveWeaponAndAmmo(3@, MP5, 9999)
Actor.WeaponAccuracy(3@) = 96
Actor.Health(3@) = 300

:NONAME_246



 
:continue2
2@ += 256 
if 
  2@ > 35584 
jf @NONAME_51 
jump @NONAME_25